cmake_minimum_required(VERSION 2.8)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")


project(list)

aux_source_directory(. DIR_SRCS)

add_library(list
    SqList.cpp
    List.cpp
    LinkList.cpp
    LinkList2.cpp
    DoubleLinkList.cpp
    CycleLinkList.cpp
    AdvanceLinkList.cpp
)

add_executable(List ${DIR_SRCS})